Method and apparatus for accessing memory

ABSTRACT

A specific embodiment is disclosed for a method and apparatus for processing data access requests from a requesting device, such as a graphics processor device. Data access commands are provided at a first rate, for example 200M commands per second, to a memory bridge. In response to receiving the access requests the memory bridge will provide its own access requests to a plurality of memories at approximately the first rate. In response to the memory bridge requests, the plurality of memories will access a plurality of data at a second data rate. When the data access between the memory bridge and the memories is a read request, data is returned to the requesting device at a third data rate which is greater than the first data rate by approximately four-times or more. Noise and power reduction techniques can be used on the data bus between the accessing device and the data bridge.

FIELD OF THE INVENTION

The present invention relates, generally to accessing data, and in particular to accessing data through a memory bridge at an enhanced data rate.

BACKGROUND OF THE INVENTION

Modem data processing devices, such as multimedia data processors, have migrated towards using large data words to accommodate the transfer data in high speed applications, such as graphics rendering. The implementation of large data words is problematic when external memory devices are used. Specifically, large external data buses increase the pin count of processing devices and the board area needed to route the busses. In addition, large bus sizes often require the use of multiple memory devices to provide the needed data width. The large number of traces associated with a large bus, and the additional memories needed to support the bus width result in increased circuit board size, which is generally not desirable. Therefore, a method and system capable of supporting large data words without the problems of the prior art would be useful.

BRIEF DESCRIPTION OF THE DRAWINGS

Other objects, advantages, features and characteristics of the present invention, as well as methods, operation and functions of related elements of structure, and the combination of parts and economies of manufacture, will become apparent upon consideration of the following description and claims with reference to the accompanying drawings, all of which form a part of this specification, wherein:

FIG. 1 illustrates, in block diagram form, a system in accordance with an embodiment of the present invention;

FIGS. 2-5 illustrate, in tabular form, read and write access activity on the busses of the system of FIG. 1;

FIGS. 6-8 illustrate, in wave diagram form, a specific example of signals associated with the bus activity of FIGS. 2-5;

FIG. 9 illustrates, in block diagram form, a portion of the memory controller of FIG. 1 in greater detail; and

FIG. 10 illustrates, in block diagram form, a portion of the memory bridge FIG. 1 in greater detail.

DETAILED DESCRIPTION OF THE FIGURES

In a specific embodiment of the present invention a data access request is made from a requesting device, such as a graphics processor device, to a memory bridge device. Data access request commands are provided at a first rate, for example 200M command per second, to a memory bridge. In response to receiving access requests the memory bridge will provide its own access requests to a plurality of memories at approximately the first rate. In response to the memory bridge requests, the plurality of memories will access a plurality of data at a second data rate. When the data access between the memory bridge and the memories is a read request, data is returned to the requesting device at a third data rate which is greater than the first data rate by approximately four times or more. Noise and power reduction techniques can be used on the data bus between the accessing device and the data bridge.

FIG. 1 illustrates a system 10 in accordance with a specific embodiment of the present invention. Specifically, the system 10 includes an access device 12, a memory bridge 14, and dual data rate (DDR) memory devices 16 and 17. The access device 12 is bi-directionally connected to the memory bridge 14 through a bus labeled QDR BUS, which represents a bus that can access data words at a rate four time greater than access commands are issued. The memory bridge 14, which is a control module having a specific purpose, is connected to memory device 16 through a bus labeled DDR BUS1, and to memory device 17 through a bus labeled DDR BUS2: DDR BUS1 and DDR BUS2 are busses that can access data words at a rate two times greater than access commands are issued.

The access device 12 includes an arbiter 20 that receives read and write data access requests from a plurality of clients (CLIENT1-CLIENTn). The arbiter 20 is connected to a memory controller 22 through internal bus 25. In one embodiment, bus 25 is a 256-bit data bus, though other sizes can be accommodated. The memory controller 22 includes a sequencer 24.

In a specific embodiment, the access device 12 is a multimedia device that performs audio, graphics and/or digital video processing. In operation, client requests are received from clients CLIENT1-CLIENTn at the arbiter 20, which prioritizes the order of the client requests. In one embodiment, any request from a first client can be prioritized over requests from any other client. Read access requests from one or more clients can be prioritized over write access requests from the same, or different, clients. Write access requests from one or more clients can be prioritized over read access requests from the same, or different, clients. In addition, it will be appreciated that other prioritization schemes can be implemented.

The prioritized request is provided to the memory controller 22. A sequencer 24, of the memory controller 22, controls the time and manner that access commands are generated on QDR BUS. In addition, the memory sequencer 24 controls when write data is generated. In one embodiment, the sequencer, or other portion of the memory controller 22, can keep track of the order of read data to be received by the access device 12, in addition, the sequencer can keep track of the time that read data is to be returned when the system 10 is a synchronous memory system.

In one embodiment, for a 200 MHz clock, the memory controller 22 can generate an access request every 5 Ns, and provide or receive a data word over the QDR BUS every 1.25 Ns. The memory bridge 14 receives the memory access commands from the access device 12, and provides data to, or retrieves data from, the memories 16 and 17 by providing access commands to the memories 16 and 17. The access command provided to the memories 16 and 17 are based on the command received from the access device. Note the command provided to the memories 16 and 17 is a representation of the command received from the access device in that the provided command may have a similar or different protocol than the command received from device 12. In one embodiment, access commands are provided from the memory bridge 14 to the memories 16 and 17 at the same rate as they are received at the bridge. However, while the commands are provided at a rate of 200M commands/second the data is transferred between the bridge 14 and each of the memories 16 and 17 at a rate of 400M words/second. In this manner, four data words are received at memory bridge 14 during a single clock cycle, assuming an average of on clock cycle per issued command. It will be appreciated, that the system or apparatus of FIG. 1 can be partitioned in different manners. For example, the access device 12 and the memory bridge 14 can be combined on an integrated device to accesses external memories 16 and 17. Likewise, the memory bridge 14 can be integrated with memories 16 and 17 to act as a control module for an integrated memory device. For example, memories 16 and 17 can represent separately accessible memory array cores. It will be appreciated by one of ordinary skill in the art that an integrated device would include a semiconductor device, and a packaged device which can contain one or more semiconductor devices. Specific embodiment(s) for accomplishing the data access using system 10 of FIG. 1 are disclosed in FIGS. 2-7.

FIGS. 2-5 are tables that illustrate bus activity of the system 10 in accordance with specific embodiments of the present invention. Each row of FIGS. 2-5 represent a specific amount of time relative to a clock signal. Generally, each row represents one clock cycle. For example, each row can represent 5 Ns corresponding to one cycle of a 200 MHz clock. Each of the columns in the figures represent a different bus, or bus portion, of the system of FIG. 1. For example in FIGS. 2-5, a column, labeled QDR CMD, represents the control portion of QDR BUS; a column labeled DDR CMD, represents the control portion of DDR BUS1 and DDR BUS2; a column labeled DDR DATA represents the data portions of DDR BUS1 and DDR BUS2; and a column labeled QDR DATA represents the data portion of QDR BUS.

One timing constraint associated with the system of FIG. 1, and adhered to in FIG. 2-5, requires that data busses be idle for at least two clock cycles between different access types. For example, as illustrated in the tables of FIGS. 2-5, there are at least two idle cycles on each of the data busses of between read data being asserted and write data being asserted on any given bus. It will be appreciated that in other embodiments that an idle time of greater than, or less than, two cycles can be implemented.

FIG. 2 illustrates a basic data access operation of the system of FIG. 1 in accordance with a specific embodiment of the present invention. During the basic data access operation, the memory controller 22 of the device 12 allows each read, or write cycle to complete in order. For example, all data for a specific access must be completed on the QDR BUS and at least two idle cycles occur before data from a next access can be provided to the QDR BUS.

During times T0-T3, the memory controller 22 initiates four data reads R0-R3 respectively by asserting the appropriate control signals onto QDR BUS. In a specific embodiment, the QDR BUS control signals can be issued a frequency of 200M commands per second. In one embodiment, each read command is a request to receive four data words during a single cycle.

The progress of each data access through the system of FIG. 1 is indicated by the tables of FIGS. 2-5. For example, in FIG. 2, R0 indicates bus activity associated with a first read request. At time T0, the column labeled QDR CMD contains R0, which indicates a command portion of the read request R0 has been driven onto a command, or control, portion of the QDR BUS. Also during time T0, in one embodiment, the command information is latched at the memory bridge 14. At time T1, no bus activity relative to access R0 occurs, as the command information is decoded by the memory bridge 14.

At time T2, the column labeled DDR CMD contains R0, indicating that control signals representing a command associated with the read request R0 has been provided by the memory bridge 14 to a portion of the DDR busses, DDR BUS1 and DDR BUS2. During times T2-T4 the requested data is acquired by the DDR memories 16 and 17. At time T5, the column labeled DDR DATA contains R0, which indicates that data associated with the read request R0 has been provided from the memories 16 and 17 to the data portion of the DDR busses. Note that each DDR memory 16 and 17 is responsible for providing one half of the data associated with each read request. Also during time T5, the data is latched at the memory bridge 14. At time T7, the column labeled QDR DATA contains R0, which indicates that the data associated with the read request R0 has been provided to the data portion of the QDR BUS. Subsequent requests for read data are consecutively numbered, for example, R1 is the next request for read data.

In accordance with the two idle cycle constraint describe above, write data cannot be provided to the QDR BUS following a read access until two idle cycles have occurred on the data portion of the busses. Therefore, when a write is to occur immediately after a read, the memory controller 22 needs to assure two idle cycles occur on the data portion of the QDR BUS. This is generally controlled by the sequencer 24, which is designed to accommodate idle cycles. Therefore, the memory controller 22 begins the write access cycle W0 at cycle T12 by providing the control information for W0 to the control portion of the QDR BUS. During the next cycle, T13, the data associated with the W0 write is driven onto the data portion of the QDR BUS. Note that two idle cycles, T11 and T12, have been maintained on the QDR BUS between the read data of the last read R3 being driven and the write data of the first write W0 being driven onto the QDR BUS.

Control information for writes W1-W5 sequentially follow W0 during times T13-T17. The data for accesses W1-W5 is written to the data portion of QDR BUS during times T13-T19. During times T14-T19 the write control information W0-W5 is provided to the DDR busses. In the specific embodiment illustrated, control data is provided in parallel to DDR BUS 1 and DDR BUS2 so that their respective memories will each store one-half of the write data during a single clock cycle. During times T15-T20 the write data information W0-W5 is provided to the DDR busses. For example, during time T15 two words of W0 data are provided sequentially to DDR BUS 1 and the other two words of data are provided sequentially to DDR BUS2.

During times T20-T28, read accesses R4 and R5 occur in a manner similar to the read accesses described previously. During times T30-T33, a write access W6 occurs in a manner similar to the write accesses described previously. Therefore, by driving the busses of system 10 in the manner illustrated in FIG. 2, alternating read and write operations result in the last write access W6 completing, at time T33.

FIG. 3 illustrates a data access operation in accordance with the present invention that uses a read buffer within the memory bridge controller 14. Using a read buffer allows for four additional read accesses to occur in two fewer cycles than the basic access described in FIG. 2. The specific embodiment of FIG. 3 includes the columns of FIG. 2, plus two new columns. A first new column labeled WCP contains an X when a Write Cycle Preview node of the QDR BUS is asserted. A second new column, labeled RBUF, indicates the cycle during which data is stored in a read buffer of the memory bridge 14.

The write accesses W0-W5 of FIG. 3 occur at the identical time and in an identical manner as the write accesses W0-W5 described with reference to FIG. 2. The read accesses of FIG. 3, however are different from the read accesses of FIG. 2 due to the use of a read buffer in the memory bridge 14.

Eight read access requests R-4 through R3 are initiated by the memory controller 12 during times T0 through T7 respectively. Not that read access requests R-4 through R-1 represent four additional read requests that were not issued during the basic access scheme of FIG. 2. The read requests R-4 through R3 are provided to the command portion of the DDR busses during times T2 through T9 respectively. During times T5-T12 the requested data R-4 through R3 is provided to the data portions of the DDR buses. The data R-4 through R3 is stored into the read buffer of the memory bridge 14 during times T6-T13 respectively. The first four data words R-4 through R-1 are provided to the data portion of QDR BUS during times T7 through T10. Also asserted at time T10 is the WCP (Write Cycle Preview) node, which prevents any additional read data from being provided to the QDR BUS at time T11.

It is useful to compare at time T10 the status of the basic system of FIG. 2 to the status of the system of FIG. 3 having a read buffer. At time T10, each of the system implementations of FIGS. 2 and 3 have provided data for four read cycles back to the QDR BUS. The difference at time T10 is, that the memory bridge controller 14 has already stored in its read buffer the data for the next four read requests R0 through R3. Also at time T10, the controller 12 asserts the WCP portion of the QDR BUS. This notifies the memory bridge 14 in advance that a write command, which is prioritized, is coming, and that the memory bridge 14 should stop transferring read data to the QDR BUS so that two idle cycles will occur before the write data is written to the QDR BUS. Therefore, the data for requests R0 through R3 is not written to the QDR BUS immediately following the read data for requests R-4 through R-1, however, the data for requests R0 through R3 is buffered in the memory bridge controller 14 and can be provided to the QDR BUS immediately following two idle cycles after the write cycle is completed. Referring to FIG. 3, the last write data for W5 is provided to the QDR BUS at time T18, and read data for R0 through R3 is provided to the QDR BUS during times T21 through T24.

The next read requests R4 and R5 begin at times T20 and T21, and overlap with the completion of read accesses R0-R3. Specifically, the memory controller 22 provides the command portion of the read requests R4 and R5 to QDR BUS at times T20 and T21 respectively. At time T22, the command portion of the read access R4 is provided to DDR BUS1 and DDR BUS2, followed by the command portion of the read access R5 at time T23. At time T25 the data of the read access R4 is provided to DDR BUS 1 and DDR BUS2. At time T26, the data of the read access R4 is stored in the read buffer, and the data of the read access R5 is provided to DDR BUS 1 and DDR BUS2. However, data associated with the read access R4 is not immediately provided to the QDR BUS because WCP has indicated a write is going to occur, which will provides data to the QDR BUS at time T27.

Note that at time T24 the write cycle preview (WCP) line was asserted to indicate that at time T26 a write access (W6) will be initiated. Based on the asserted WCP line, the memory bridge 14 will make sure that the QDR BUS data lines and the DDR BUS data lines are idle for at least two time cycles before the write occurs. This results in the data for R4 and R5 remaining buffered within the memory bridge 14 until after the write data has been provided to QDR BUS. In FIG. 3, the read data of accesses R4 and R5 are provided to the QDR BUS at times T30 and T31.

As indicated by the timing of FIG. 3, use of a read buffer allows for all of the accesses of the basic system of FIG. 2 to occur, plus four additional read accesses, in two fewer clock cycles than the basic implementation of FIG. 2.

FIG. 4 illustrates an implementation of the present invention using a write buffer within the memory bridge 14. Note no read buffer is used with this implementation. Using a write buffer allows for more efficient implementation of accesses than the basic implementation of FIG. 2. The table of FIG. 4 includes a column labeled WBUF that indicates when data is initially stored in the write buffer of the memory bridge 14.

The read accesses R0-R3 of FIG. 4 occur at the identical time and in an identical manner as the read accesses R0-R3 discussed with reference to the basic implementation of FIG. 2. The write accesses of FIG. 4, however, are different from the read accesses of FIG. 2 due to the use of a write buffer in the memory bridge 14.

Because the Memory Bridge 14 has a write buffer, the memory controller 22 can provide write data to the bridge 14 prior to providing the write command to the data bridge. This is illustrated at times T2-T4 where the data for write access W0-W2 is provided to the data portion of QDR BUS, and latched in to WBUF during times T3-T5 respectively. Only three data words were provided to the QDR BUS because the sequencer of the memory controller anticipated receiving the read data for R0 at time T7. Note that in one embodiment the memory bridge will generally receive a data strobe signal from a memory controller 22 indicating when to latch the provided write data.

The sequencer 24 provides the command portion of write accesses W0-W2 at times T8-T10, which overlaps with the reception of read data R1-R3 on the QDR bus. Starting at time T10, the memory bridge 14 provides command information for write access W0-W2 to DDR BUS1 and DDR BUS2. Beginning at time T11, memory bridge 14 provides buffered write data for accesses W0-W2 to the data portions of the DDR buses. Note, the sequencer 24 provided command information for W0 during time T8 to allow for the two idle cycles between the read data R3 being driven on the QDR BUS and the write data W0 being driven on the QDR BUS. A one-cycle delay occurs at time T11 between the command of W2 being asserted on the QDR BUS and the command of W3 being asserted. Without this delay only one idle cycle would occur on the QDR BUS between access R3 and access W3. By delaying W3, two idle cycles occur on the QDR BUS during times T11 and T12.

Note that the data of write accesses W3-W6 is not indicated as buffered because these accesses occur in the same basic manner described in FIG. 2. However, depending upon the specific implementation the data may actually be buffered. For purposes of discussion, only the write data that is buffered in advance of its corresponding command is illustrated as buffered in FIG. 4.

Read accesses R4 and R5 begin at times T17 and T18 respectively, and proceed according to the basic embodiment described with reference to FIG. 2.

The final write access W6 begins at time T19 of FIG. 4, where the data for W6 is provided to the QDR BUS at time T20 prior to the W6 command being asserted. The sequencer 24 provides command information for write access W6 at time T23. By waiting until time T23, it is assured that two idle cycles occur on the DDR busses between read access R5 and write access W6. At time T25 command information is provided to the DDR Buses. At time T26, the data for W6, which is buffered, is provided to the DDR Buses.

Providing a write buffer in the manner illustrated in FIG. 4 allows the same amount of data to be accessed as in the basic implementation of FIG. 2 in eight fewer clock cycles.

FIG. 5 illustrates the flow of data on the busses of FIG. 1 when both a read buffer and a write buffer are implemented. In FIG. 5, write accesses are prioritized over read accesses. Implementing both the read buffer, discussed with reference to FIG. 3 and the write buffer, discussed with reference to FIG. 4, in the memory bridge 14 results in the saving of nine clock cycles over the basic implementation.

It will be appreciated by one of ordinary skill in the art that a variety of command protocols can be used to request access of data. For example, a standardized or custom set of commands can exist between the access device 12 and the memory bridge 14. The commands provided from the memory bridge 14 to the memories 16 and 17 are based upon the specific control protocol of the memories 16 and 17. FIGS. 6 and 7 provide specific embodiments of bus activity between the access device 12 and the memory bridge 14.

FIG. 6 illustrates bus activity on QDR BUS between the access device 12 and the memory bridge 14 for a read cycle. In the embodiment illustrated, time cycles T0-T3 and T7-T9 correspond to the similarly numbered time cycles of FIG. 2. In one embodiment, each time cycle starts on a falling clock edge. In other embodiments, each time cycle can start on a rising clock edge. FIG. 6 illustrates four read commands being provided by the access device 12 during the first half of each clock cycle T0-T3. Each read command includes control signals (CMD) and an address value (ADDR). Note in FIG. 6 “R” represents the read control signals, and A# represents an address location, where # is an integer identifying a specific access.

The next activity on the QDR BUS, for this access, is the return of data (QDATA) from the memory bridge. As illustrated, four words of data are returned during cycle T7. In addition to the data words, the access device also receives a data strobe signal (DS) over the QDR BUS. In one embodiment, the data strobe transitions each time new data is available on the data bus. Therefore, the DS signal has a frequency twice that of the clock frequency during a time when data is being transferred over the QDR BUS. The DS signal can transition at the approximate same time as the data changes values, or the DS signal can transition near the center of each data word, where the center is a time when the data on the QDR BUS is expected to be stable. In other embodiments, the data strobe signal can have a rate equal the clock signal, and be multiplied by the memory bridge to provide four latching edges.

The timing of FIG. 6 will change when read data is held in a buffer of the memory bridge 14. Specifically, the time during which data is returned to the access device 12 can vary depending upon prioritized write or write cycles. While, in one embodiment, it is guaranteed that data is returned to the QDR BUS in the order it was requested, in another embodiment, the data can be driven onto the QDR BUS out-of-order. When the data is returned out of order, some type of data identifying information is maintained. Such identifying information indicates the requested order of the data, or the requesting client of the data.

Note that FIG. 6 further illustrates data polarity signal (DPOL). One or more data polarity signals are used to minimize the amount of power and noise that occurs with the high frequency data busses of FIG. 6. Generally, a data polarity signal indicates a polarity of the data values being driven on the data portion of the QDR BUS. For example, in one embodiment, when DPOL is asserted, it indicates that the values for the data bus are to be interpreted normally by the receiving device. However, when DPOL is negated, the values driven on the data bus are an inverted representation of the actual data values. Therefore, the receiving device needs to invert the received values. Specific implementation(s) of such a noise and power reduction scheme is disclosed in patent application Ser. No. 09/498,586 filed on Feb. 4, 2000, which is hereby incorporated herein by reference.

FIG. 7 illustrates bus activity between the access device 12 and the memory bridge 14 for a write cycle. In the embodiment illustrated, write accesses initiated at times T12 and T13 are illustrated and correspond to similarly numbered cycle times of FIG. 2. In one embodiment, each time cycle starts on a falling clock edge. In other embodiments, each time cycle can start on a rising clock edge.

FIG. 7 illustrates a write command, which includes control signals (CMD) and an address value (ADDR). Two write commands are provided during the first half of each clock cycle T12-T13. The next activity on the QDR BUS occurs when data is provided to the data bus portion (QDATA) of the QDR BUS. As indicated, four words of data associated with the first write W0 are provided to the data bus (D) during time T13, and four words of data (D4-D7) associated with the second write W1 are provided to the data bus during time T14. In addition to the data words, the access device also provides a data strobe signal (DS) over the QDR BUS. In one embodiment, the data strobe transitions each time new data is available on the data bus. Therefore, the DS signal has a frequency twice that of the clock frequency during the time when data is being transferred over the QDR BUS. The DS signal can transition at approximately the same time as the data values change on the data bus, or the DS signal can transition at a center point where the data on the QDR BUS is expected to be stable.

The signal WCP is asserted beginning at cycle T9, so that the memory bridge can stop driving data onto data lines, in anticipation of the read data being received. The timing of FIG. 7 will change when the memory bridge 14 includes a write data buffer. Specifically, the time during which data is provided to the memory bridge 14 can vary. In one embodiment, as illustrated in FIG. 8, the write data can be buffered in the memory bridge 14 by providing data strobe and data before a corresponding write command is issued. This sequence would be interpreted by the memory bridge 14 as an indication to buffer the write data for use with the next write command. The generation of an active WCP signal can be delayed based upon how much data is buffered. For example, if four words of data have been sent to the memory bridge 14 for buffering, the WCP signal of FIG. 8 can be delayed by one cycle.

Note that FIG. 7 has a DPOL signal similar to the data polarity signal of FIG. 6. These signals are provided by the access device to indicate the polarity of the data being sent to the memory bridge.

FIG. 9 illustrates a block diagram for a portion of memory controller 22 of access device 12 that provides the data, data strobe, and data polarity signals to the QDR BUS. In the specific embodiment of FIG. 9, the data bus portion (QDATA) of the QDR BUS is a 64-bit wide bidirectional bus. The output driver of the bidirectional buffer 150 is enabled by a write control signal (WC). The signal WC is asserted by the controller 12 when write data is being provided to QDATA. With reference to the basic read access of FIG. 2, the memory controller 12 asserts the signal WC during those times when write data is indicated as being driven on the QDR data bus. For example, during times T13-T18 and T31 the WC signal would be asserted.

The data strobe line (DS) line is connected to a bidirectional buffer 160 that either receives a data strobe signal from the memory bridge 14, or provides a data strobe signal to the memory bridge 14 of FIG. 1. As previously discussed, the data strobe indicates when valid data word is present on the data bus.

The data polarity line, labeled DPOL, is a bidirectional node that receives or provides a polarity indicator from or to memory bridge 14. As previously discussed, the state of data polarity signal indicates the polarity of data on QDATA.

The write cycle predict line (WCP) is an output that provides a signal to the memory bridge 14 indicating that a write cycle is about to being. The data controller 12 will assert the write cycle predict signal in advance of the write cycle command to allow write data to be driven onto QDATA without delay. In one embodiment, as illustrated in FIG. 3, the WCP signal is asserted three cycles prior to the actual write command, to allow for two idle cycles on the QDR BUS prior write data being driven. For embodiments where more or fewer idle cycles are needed, the timing of WCP can vary accordingly.

During a write cycle, the memory controller 12 receives a 256-bit data word, D(0 . . . 255), from one of its clients. The 256-bit data word is received at the data multiplexer 110, which splits the 256-bit data word into four 64-bit data words that are to be transmitted serially. The data multiplexer 10 generates both the actual and inverted data values for the 64-bit words so that either the actual data values or the inverted data values can be driven onto QDATA based upon the DPOL value.

The true and inverted values for the 64-bit data words are provided to the output data adjust portion 120. As previously indicated, the output data adjust portion 120 determines the state of the data polarity signal (DPOL), which indicates whether the true or inverted values of the 64-bit data words are to be provided to the data bus. In one embodiment, there can be more than one data polarity signal. For example, two data polarity signals can exist, one for the lower 32-bits of the data bus, and one for the upper 32-bits of the data bus. As previously referenced, additional details concerning a specific embodiment of output data adjust module 120 can be found in pending application No. 09/498,586.

The data from the 256-bit data bus is received at data multiplexer 110 at a first data rate, for example 200 MHz, and provided as 64-bit data words at a second data rate that is four, or more, times greater than the first data rate. To accommodate the multiple data transfer rates a 4X clock is generated by the clock multiplier 105. In addition, clock multiplier 105 provides a 2X clock used to generate the data strobe signal, DS.

During a read cycle, the 64-bit data words received from the QDATA are latched into the input data adjust portion 140 based upon the received data strobe signal. The input data adjust portion 140 will provide correct data polarity values to the data demultiplexer 130. The data demultiplexer 130 receives four sequential 64-bit data words from the input data adjust portion 140 and provides a single 256-bit data word at its output at a reduced data transfer rate. The 256-bit data word is provided to a requesting client. The input data adjust portion 140 receives the 4X clock from the clock multiplier 105 to manipulate the 64-bit data, while the data de-multiplexer 130 receives the 4X clock and the regular clock to provide the 256-bit data to the client. In addition to the functional blocks described, it will be appreciated by one of ordinary skill in the art that the control logic 12 will also generate the individual control signals which make-up the read and write commands.

FIG. 10 illustrates a specific implementation of a portion of the memory bridge 14 that includes memory bridge controller 210, input data adjust portion 220, output data adjust portion 230, and data buffer 240. In operation, the memory bridge controller 210 receives read and write access commands (CMD) from the access device 12 as described in FIGS. 2 through 7. Inputs to the memory bridge controller 210 include an address input port (ADDR IN) for receiving address data, a command input port (CMD IN) for receiving control signals, a first data strobe input port (DS1 IN) for receiving a data strobe indicating when data received at QDATA is valid, a second data strobe input port (DS2 IN) for receiving a data strobe indicating when data received at the DDR busses D2 and D3 is valid, a write cycle preview port (WCP) for receiving the write cycle preview signal that indicates that QDATA should no longer be driven by the output driver of buffer 251 of the memory bridge 14, a data polarity input port (DPOL IN) that indicates the.polarity of received data; and read and write data in indicators (RW DATA IN) that control when the input buffer of the data buffer 240 is to buffer a next word of data.

Output ports of the memory bridge controller 210 include a data polarity output port (DPOL OUT) that provides a signal to access device 12 indicating the polarity of data being driven onto QDATA, a read cycle port (RC1) that enables the output drivers of the buffers to drive data onto various portions of the QDR BUS; a first data strobe output signal (DS1 OUT) that provides an indication when valid data is being driven onto the DATA BUS; read and write data out indicators (RW DATA OUT) that control when the output buffer of the data buffer 240 is to provide a next word of data; an address output port (ADDR OUT), a command output port (CMD OUT), a first data strobe out port (DS1 OUT) for providing a data strobe indicating when data provided to the QDR BUS is valid, a second data strobe out port (DS2 OUT) for providing a data strobe indicating when data provided to the DDR busses is valid.

During a write operation, the data received at QDATA is provided to the input data adjust module 220, which qualifies the received data value based on the state of the received DPOL signal to adjust for any inversion of data values. Next, the adjusted input data is provided to the data buffer 240. The data buffer 240 also receives an asserted signal on the node 211 from the memory bridge controller 210 indicating that the data at its input (WIN) is to be latched. In one embodiment, the data buffer 240 will store all write data in a FIFO (not illustrated) and provide the data to the drivers of buffers 250 and 260 from the FIFO. In other embodiments only the write data that needs to be buffered, for example, write data that is received prior to a write command being issued, is stored into a memory location, such as a FIFO, for future use. The memory bridge controller 210 provides command information, which includes address and strobe information in manner similar to that described in reference to FIGS. 2-7.

In response to a read request on the CMD and ADDR lines, the memory bridge controller 210 will provide command information at DDR ADDR and DDR CMD indicating the data to be returned on the data lines DD1 and DD2. In one embodiment, a single command and address is sent to identical memory devices. In response, each of the memory devices, when dual data rate memories, operate simultaneously so that each memory device provides two sequential 64-bit data words, for total of four 64-bit data words, during a single clock cycle, to the data buffer 240. The four 64-bit data words are received at a read buffer (not shown) of the data buffer 240. For example, the read buffer can be a FIFO that stores data from the memories in response to memory bridge controller 210 asserting a read input indicator on node 212. The memory bridge controller 210 provides the data to the output data adjust portion 230 by sequentially asserting a signal on the read output node 214. The output data adjust portion 230 provides data having the correct polarity to the data bus.

It will be appreciated by one of ordinary skill in the art, that the memory bridge controller 210 can be implemented in numerous ways. For example, the controller 210 of the memory bridge 14 can be configured so that the memory bridge acts primarily as a command FIFO, whereby the commands originated by the access device 12 are implemented in the same order that they are received by the controller 210. For example, referring to FIG. 2, the read and write accesses are completed in the order received by the access device 12. In another embodiment, the bridge controller 210 can access data stored in the memory devices out-of-order to take advantage of currently active memory channels or pages. For example, if a first access is to a first page of memory, a subsequent access can be taken out-of-order to allow continued access to the first page of memory. For example, given three sequential memory access requests R10, R11, and R12, accesses R12 can be retrieved prior to access R11 when it is determined by the memory bridge controller 210 to be more efficient to do so. The data received out-of-order from the connected memories can be buffered in the bridge 14 and returned to the access device 14 in-order, or can be buffered, or un-buffered, and returned to the access device 12 out-of-order.

When the memory bridge 14 has the capability to return data to the access device 12 out-of-order, a mechanism needs to exist to notify the access device 12 of the data being returned. One way of providing data to the access device 12 out-of-order is to provide some kind of tag indicating the identity of the data being provided. Such tag information can be a portion of the data's address, a client identifier, a channel indicator, or any other identifier capable of notifying the access device 12 of the actual sequence that the data is being returned.

It should now be appreciated by one of ordinary skill in the art, that the specific embodiments of the invention disclosed herein provide advantages over the prior art. For example, the access device 12 can receive 256-bit data words from its clients, while interfacing external the access device 12 with only 64-bit data words. This reduces the size of the access device component or apparatus. Further efficiencies are gained by implementing one or more of a read data buffer and a write data buffer in the memory bridge 14. Such data buffers to allow for more efficient data transfers. In another implementation of the present invention, one or more data polarity indicators are provided to reduce signal transitions on the data portion of the QDR BUS. Another advantage associated with the embodiments described herein is that strobe edges used to transfer data between the access device 12 and the memory bridge 14 can be centered upon valid read and write data signals. It will be appreciated by one of ordinary skill in the art, that many specific implementations can be used to implement the claimed invention can exist. For example, the specific embodiments illustrated in the figures show a specific partitioning of specific modules. It will be understood that other partitions of the modules can be implemented. As another example, it will be understood by one of ordinary skill that the bridge 14 can map addresses received at from the access device 12 to physical address locations associated with the memories 16 and 17. 

We claim:
 1. A method of accessing data during a time represented by a plurality of time periods sequentially numbered to indicate time sequential order, the method comprising the steps of: receiving a first read command at a first command port during time period T1; providing a representation of the first read command at a second command port during time period T3; and receiving four words of data, each word having a width X, over two data ports, each data port having a width X, during a time period Ty subsequent to T3.
 2. The method of claim 1, further comprising the step of: providing four words of data to a single data port during a time period Tw, where Tw is subsequent to Ty.
 3. The method of claim 2, wherein the single data port is not one of the two data ports.
 4. The method of claim 1, wherein the step of receiving four words of data over two data ports further includes Ty being one of the time periods T4, T5, T6, and T7.
 5. The method of claim 4, further comprising the step of: providing four words of data to a single data port during a time period Tw, where Tw is subsequent to Ty.
 6. The method of claim 5, wherein the single data port is not one of the two data ports.
 7. The method of claim 5, wherein the step of providing four words of data to the single data port further includes Tw being the first second, or third time period after Ty.
 8. The method of claim 5, wherein the step of providing four words of data to a single data port further includes Tw being the time period one, two, or three time periods after Ty during a first mode of operation when the first read command has a highest priority.
 9. The method of claim 8, wherein during a second mode of operation Tw is more than three time periods after Ty.
 10. The method of claim 9, wherein during the second mode of operation the first read command has a lower priority than another command.
 11. The method of claim 1, further comprising the steps of: receiving a second read command at the first command port during time period T2; providing a representation of the second read command at the second command port during time period T4; and receiving four words of data each word having the width X, over two data ports, each data port having the width X, Tw which is the time period immediately following Ty.
 12. The method of claim 11 further comprising the step of: providing four words of data to a single data port during a time period Tz subsequent to Ty; and providing four words of data to the single data port during a Tv period that is the time period immediately following Tw.
 13. The method of claim 11, wherein the step of receiving four words of data over two data ports includes Ty being one of the time periods T4, T5, T6, and T7.
 14. The method of claim 13 further comprising the step of: providing four words of data to a single data port during a time period Tz subsequent to Ty; and providing four words of data to the single data port during a time period Tv that is the time period immediately following Tw.
 15. The method of claim 14, wherein the step of providing four words of data to the single data port further includes Tw being the first, second, or third time period after Ty.
 16. The method of claim 1, further comprising the steps of: receiving a plurality of first write data words over a single data port; and receiving a first write command at the first command port during a time period Tw, wherein the first write command indicates where the first write data words are to be stored, and the first write command is received after the step of receiving the plurality of first write data words.
 17. The method of claim 16, wherein the step of receiving the plurality of first write data words occurs during a time period Tz.
 18. The method of claim 17, wherein the step of receiving the plurality of first write data words includes Tz being before time period T1.
 19. The method of claim 18, wherein Tw is after the time period T1.
 20. The method of claim 19, wherein Tw is after Ty.
 21. The method of claim 20, wherein the plurality of first write data words is four data words.
 22. The method of claim 17, wherein the step of receiving the plurality of first write data words includes Tz being after time period T1.
 23. The method of claim 22, wherein the step of receiving the plurality of first write data words includes Tz being after the Ty.
 24. The method of claim 1, further including the steps of: receiving a write cycle preview signal that indicates a write cycle is to occur during a time period Tw, wherein when the write cycle preview signal is received before Ty; and providing four words of data to a single data port during a time period Tz, where Tz is subsequent to the write cycle preview signal being deasserted.
 25. The method of claim 1, further comprising the step of: receiving a polarity indicator for each of the four words of data.
 26. The method of claim 1, wherein the steps of receiving the first read command, providing, and receiving four words of data occur with respect to a memory device that has a plurality of memory locations that store the four words of data.
 27. The method of claim 1, wherein the steps of receiving a first read command, providing, and receiving four words of data occur with respect to an integrated device that has a plurality of integrated clients for providing the first read command.
 28. An apparatus for accessing data, the apparatus comprising: a first command port; a second command port; a first data port associated with the first command port; and a second and third data port associated with the second command port; a control module coupled to the first command port, the second command port, and the first, second and third data ports to receive a first read command during a period T1 and to provide a representation of the first read command to the second command port during a time period T3, and to receive four words of data during a first time period subsequent time period T3, where each of the four words has a width X and are received at the second and third data ports during a first time period that is subsequent to providing a representation of the first read command to the second command port, where each of the first, second and third data ports have a width X.
 29. The apparatus of claim 28 further comprising: a read buffer having data input port coupled to the second and third data ports, a data output port coupled to the first data port, a first control input coupled to a first control output of the control module, and a second control input coupled to a second control output of the control module, wherein when an asserted signal is received at the first control input data at the data input port is stored in the read buffer and when an asserted signal is received at the second control input data is provided to the data output port.
 30. The apparatus of claim 29, wherein the control module further includes a third control input, wherein data received at the second and third data ports is latched in the read buffer when an asserted signal is present at the third control input.
 31. The apparatus of claim 28 further comprising: a write buffer having a data input port coupled to the first data port, a data output port coupled to the second and third data ports, a first control input coupled to a first control output of the control module, and a second control input coupled to a second control output of the control module, wherein when an asserted signal is received at the first control input data at the data input port of the write buffer is stored in the write buffer and when an asserted signal is received at the second control input of the write buffer data is provided to the data output port.
 32. The apparatus of claim 28 further comprising: a read buffer having data input port coupled to the second and third data ports, a data output port coupled to the first data port, a first control input coupled to a third control output of the control module, and a second control input coupled to a fourth control output of the control module, wherein when an asserted signal is received at the first control input of the read buffer data at the data input port is stored in the read buffer and when an asserted signal is received at the second control input of the read buffer data is provided to the data output port.
 33. The apparatus of claim 31, wherein the control module further includes a fifth control input, wherein data received at the second and third data ports is latched in the read buffer when an asserted signal is present at the third control input.
 34. The apparatus of claim 28, wherein the apparatus is a memory device.
 35. The apparatus of claim 28, wherein the apparatus is a graphics device. 